package com.htgd.gardenexpo.service;

import com.github.pagehelper.PageInfo;
import com.htgd.gardenexpo.entity.WxUserCoupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.htgd.gardenexpo.page.PageBase;
import com.htgd.gardenexpo.vo.MyCouponRecordVO;
import com.htgd.gardenexpo.vo.MyCouponVO;

import java.util.List;

/**
 * <p>
 * 优惠券和用户关系 服务类
 * </p>
 *
 * @author author
 * @since 2024-08-08
 */
public interface WxUserCouponService extends IService<WxUserCoupon> {

    PageInfo<MyCouponVO> myCoupon(String openId, PageBase pageBase);

    PageInfo<MyCouponRecordVO> myCouponRecord(String openId, PageBase pageBase);

    Integer getCouponNum(String openId);
}
